<div>Welcome to home Route</div>

@if (checkSessionChanged$ | async) {
  <button (click)="login()">
    CheckSession Refresh Session
  </button>
}

@if (isAuthenticated) {
  <div>
    <button (click)="logout()">Logout</button>
    <button (click)="forceRefreshSession()">RefreshSession</button>
    <hr />
    <br />
    Is Authenticated: {{ isAuthenticated }}
    <br />
    userData
    <pre>{{ userData$ | async | json }}</pre>
    {{ checkSessionChanged$ | async }}
    <br />
  </div>
} @else {
  <button (click)="login()">Login</button>
  <hr />
}


Configuration loaded:
<pre>{{ configuration$ | async | json }}</pre>
